package interfaceLS;

import java.util.ArrayList;
import java.util.Date;

import data.SaleRecord;

public interface SaleRecordOpra {

	public void insert(int saleRecordid, String userid, int storeid,
			String memberid, Date saleDate, double total, double ordinaryTotal,
			double discount, int pointsSpent, double receivable, double actual,
			double change);

	public ArrayList<SaleRecord> query();

	public SaleRecord queryByID(int saleRecordId);

	public ArrayList<SaleRecord> query(String acc, int accValue);

	public ArrayList<SaleRecord> query(String acc, Date accValue);
}
